Skip to content

chore(python): support Python 3.15, drop 3.10 - #81

Merged
adsharma merged 2 commits into
LadybugDB:mainfrom
adsharma:feature/python-3.15-drop-3.10
Nov 10, 2026
Merged

adsharma merged 2 commits into
LadybugDB:mainfrom
adsharma:feature/python-3.15-drop-3.10

Conversation

@adsharma

Copy link
Copy Markdown
Contributor

Support Python 3.15 and drop 3.10, matching the wheel-matrix update in LadybugDB/ladybug.

  • requires-python: >=3.10,<3.15 → >=3.11,<3.16
  • Relax the dev pin pybind11~=2.13 → pybind11>=2.13 so Python 3.15 environments can resolve pybind11 3.x, which is required for 3.14+ interpreters.

Part of LadybugDB/ladybug#python-3.15 (companion main-repo PR to follow, bumping this submodule pointer and CIBW_BUILD).

Raise requires-python from >=3.10,<3.15 to >=3.11,<3.16 and relax
the pybind11 dev pin from ~=2.13 to >=2.13 so environments on 3.15
can resolve pybind11 3.x, which is required for 3.14+ interpreters.
requires-python >=3.11 makes the sys.version_info >= (3, 11)
guards outdated (outdated-version-block) and the typing_extensions
Self fallback deprecated. Import Self from typing directly and drop
the now-unused sys import.

Also apply ruff datetime-timezone-utc fixes (timezone.utc -> UTC,
available since 3.11) and black reformatting.
@adsharma
adsharma merged commit 9094ae6 into LadybugDB:main Nov 10, 2026
2 checks passed
@adsharma
adsharma deleted the feature/python-3.15-drop-3.10 branch November 10, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant